/*
 * @(#)SimServerRIP.java	Didier Gutacker
 */

/** 
 *
 * @author 	Didier Gutacker
 * @version     1.0, 05.09.97
 * @see Server
 * @see SimulationServer
 * @see SimServerRIP
 */

import java.awt.*;

public final class SimServerRIP extends SimulationServer {
  static SimServerRIP thisServer;
 
  public SimServerRIP( int port ) {
    super(port);
    text = new TextMethodsDeutschRIP();
    text.frameTitle = text.frameTitle + " <SERVER>";
    f = new SimFrameRIP( text, this, this );
    f.pack();
    f.resize(790,600);
    f.show();
  } // SimServerRIP

  public static void main( String [] argv ) {
    try {
      if ( argv[0] != null ) {
	Integer port = null ;
	try {
	  port = new Integer( argv[0] );
	} catch(  NumberFormatException e ) {
	} // try
	thisServer = new SimServerRIP( port.intValue() );
      } // if
    } catch( ArrayIndexOutOfBoundsException e ) {
      System.err.println( "Wrong number of arguments.  Synopsis:  SimulationServer <port>." );
    } // try
  } // SimServerRIP.main


} // SimServerRIP
